package c.e.b.h.e.o;

import java.io.File;
import java.nio.charset.Charset;
import java.util.Comparator;

/* compiled from: CrashlyticsReportPersistence */
public final /* synthetic */ class d implements Comparator {
    public static final d a = new d();

    public int compare(Object obj, Object obj2) {
        File file = (File) obj;
        File file2 = (File) obj2;
        Charset charset = g.g;
        String name = file.getName();
        int i = g.h;
        return name.substring(0, i).compareTo(file2.getName().substring(0, i));
    }
}
